public class hw5 {
    public static void main(String[] args) {
        System.out.println(sum(15,25));
        System.out.println(sum(1.2,1,1.8));
    }
    public static int sum(int x, int y) {

        return x + y;
    }
    public static double sum(double x, double y, double z) {
        return x + y + z;
    }
}
